package org.openurp.edu.student.info.web.action

import java.io.File
import org.beangle.webmvc.api.action.ActionSupport
import org.beangle.webmvc.api.annotation.param
import org.beangle.webmvc.api.view.Stream
import org.beangle.webmvc.api.view.View
import org.beangle.webmvc.entity.action.RestfulAction
import org.openurp.edu.student.info.model.IndexType
import org.openurp.edu.student.info.model.Budget
import org.openurp.edu.student.info.model.Division
import org.openurp.edu.student.info.model.Industry
import org.openurp.edu.student.info.model.ProjectType
import org.openurp.edu.student.info.model.EvaulationType
import org.openurp.edu.student.info.model.IndexBase


/**
 * @author hjc
 */
class IndexBaseAction extends RestfulAction[IndexBase] {
  
  
  
   protected override def editSetting(entity: IndexBase): Unit = {
    put ("indextypes", entityDao.getAll(classOf[IndexType]))
    put ("divisions", entityDao.getAll(classOf[Division]))
    put ("evaulationtypes", entityDao.getAll(classOf[EvaulationType]))
    put ("projecttypes", entityDao.getAll(classOf[ProjectType]))
    put ("budgets", entityDao.getAll(classOf[Budget]))
    put ("industrys", entityDao.getAll(classOf[Industry]))
    
    
    
   }
   
     
   
   
   
  
}